package com.trust.entity.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ccc
 * @desc
 * @since 2023/11/23 14:40
 */
@Data
@ApiModel("采收列表vo")
public class FarmCollectListVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("种植id")
    private Integer plantId;

    @ApiModelProperty("采收品类")
    private String categoryName;

    @ApiModelProperty("作业时间-开始")
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("作业时间-结束")
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("采收数量")
    private BigDecimal num;

    @ApiModelProperty("1种植采收 2育苗采收")
    private Integer type;

    @ApiModelProperty("采收类型")
    private String typeName;

    @ApiModelProperty("作业班组")
    private Integer deptId;

    @ApiModelProperty("作业班组名称")
    private String deptName;

    @ApiModelProperty("采收批号")
    private String code;

    @ApiModelProperty("计量单位")
    private String unit;

    @ApiModelProperty("用工人数")
    private Integer workerNum;

    @ApiModelProperty("状态 1未入库 2已入库")
    private Integer state;

    @ApiModelProperty("负责人")
    private Integer principalId;

    @ApiModelProperty("负责人名称")
    private String principal;
}
